University Life in Udine

Universities and Points of Interest

Are you a student wishing to study in Udine? Here's everything you need to know.

Some info about the notebook

In this notebook there will be content designed specifically for users, others for programmers.

This distinction is made explicit by the use of the following icons:

In the first part of the notebook we show the plot_udine_map() function and explain how it works.

In the second part we present real-life usage scenarios in which the function can be used to provide information to the user. You can find a more visually appealing version of the scenarios on the following website.


Setup 👨‍💻

We import the necessary libraries for the notebook to correctly work.

Map of the City

Import necessary data 👨‍💻

In order, we use:

Plot the base map of Udine 👨‍💻

We start by showing the simplest map that can be obtained, showing only the streets and buildings on the map of Udine.

The thicker and darker streets are for cars, while the thinner and lighter ones are for pedestrians.

Note: you can find all the visualizations in the dataviz folder.

Plot places of interest 👨‍💻

Using the plot_udine_map() function, we can plot many interesting places for students on the map of Udine.

The legend, with all possible types of obtainable places, follows.

In the following example we select all the possible places, plot them on the map and get their information.

When creating the map, we also obtain additional information on the required places.

The information is stored in a dictionary, let's explore it.

Although the dictionary is understandable, it is preferable to show the user the information in tabular form.

We can do it using the extract_info_from_dict() function.

Plot the fastest routes to the Universities 👨‍💻

In addition to obtaining information about universities and places, it is possible to display this information on the map using the following function parameters:

The user can choose between 5 university locations (list_of_uni parameter):

Note: If you do not specify any university location, the function will report information on all of them.

We will see how it works in use cases.

Real Scenarios 🧍‍♂️

Now let's see how you can use the map, through real scenarios.

Massimo

Massimo took the test to get into medicine, but has not yet received the result. Besides medicine, he has a passion for law, which would be his second option.

He has decided to move to Udine as soon as possible. He is looking for a house that is close to both universities.

He does not like to cook, so he often eats out.

Massimo suffers from anaemia and often has to go to hospital for blood tests, so he would like his house to be close to a hospital.

He has found two flats in the following streets:

Let's see how our map can help him.

Massimo can easily get the location of the two flats on the map, together with the fastest route to the universities and the points of interest he requested.

The blue circle around the flat covers everything within 1 km. This makes it easy to see which points of interest are nearby and what instead is missing in the vicinity of the flat.

The map also provides information such as:

Using the map Massimo discovers that the flat in Via S. Rocco is closer to the hospital, and that he has numerous places to eat out around him.

The distance to the universities is similar, so Massimo has no more doubts and decides to move to the second flat.

Elisa

TODO: Inserire qui secondo scenario. Lorem ipsum dolor sit amet consectetur adipisicing elit. Id facilis quam, ratione, tempore quod reprehenderit similique, porro ad explicabo deserunt minus quis corrupti necessitatibus nesciunt animi molestiae. Doloremque, beatae incidunt!